.detail-bar{
  width: 100%;
  position: fixed;
  bottom: 0;
}
.detail-buy{
  width: 100%;
  background-color: #f5f5f5;
  display: flex;
  font-size: 15px;
}
.buy-left{
  width: 45%;
  height: 50px;
  display: flex;
}
.left-item{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.left-item.active{
  color: #ff5777;
}
.buy-right{
  width: 55%;
  height: 50px;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 14px;
}
.add{
  width: 45%;
  height: 35px;
  line-height: 35px;
  background-color: rgb(250, 190, 30);
  color: #fff;
  border-top-left-radius: 17px;
  border-bottom-left-radius: 17px;
}
.buy{
  width: 45%;
  height: 35px;
  line-height: 35px;
  background-color: rgb(250, 75, 50);
  color: #fff;
  border-top-right-radius: 17px;
  border-bottom-right-radius: 17px;
}
.popup{
  padding: 16px;
}
.popup-top{
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.popup-goods img{
  width: 96px;
  height: 96px;
  margin-right: 10px;
}
.popup-goods{
  display: flex;
}
.popup-price{
  font-size: 16px;
  color: #ee0a24;
  margin-top: 10px;
}
.popup-inventory{
  color:#969799;
  font-size:12px;
  margin: 10px 0;
}
.popup-price span{
  font-size: 22px;
}
.popup-close{
  text-align: right;
}
.popup-color{
  font-size: 16px;
  margin-bottom: 10px;
}
.popup-select-color{
  display: flex;
  margin-bottom: 20px;
}
.popup-select-color div{
  height: 32px;
  line-height: 32px;
  text-align: center;
  padding:0 10px;
  border-radius: 3px;
  background-color: #f2f3f5;
  margin-right: 10px;
}
.popup-amount{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 40px;
}
.popup-stepper{
  font-size: 12px;
  display: flex;
  color: #ee0a24;
  align-items: center;
}
.popup-stepper div{
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  color: #000;
  background-color: #f2f3f5;
  margin: 0 2px;
}
.popup-stepper div:nth-child(odd){
  font-size: 24px;
  color: #1677ff;
}
.popup-stepper div:nth-child(even){
  width: 40px;
}
.popup-bottom{
  width: 100%;
  height: 40px;
  line-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.popup-bottom-add{
  width: 80%;
  color: #fff;
  font-size: 16px;
  background-color: rgb(250, 190, 30);
  border-radius: 20px;
}
.popup-bottom-buy{
  width: 80%;
  color: #fff;
  font-size: 16px;
  background-color: rgb(250, 75, 50);
  border-radius: 20px;
}